package com.video.system.domain;

import com.video.common.annotation.Excel;
import com.video.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程对象 video_course
 * 
 * @author lyh
 * @date 2021-07-20
 */
public class VideoCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程ID */
    private Integer cId;

    /** 课程编码 */
    @Excel(name = "课程编码")
    private String courseCode;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String coName;

    /** 课程视频 */
    @Excel(name = "课程视频")
    private String courseVideoUrl;

    /** 售价 */
    @Excel(name = "售价")
    private Integer money;

    /** 观看人数 */
    @Excel(name = "观看人数")
    private Long people;

    /** 教师编码 */
    @Excel(name = "教师编码")
    private String teacherCode;

    /** 课程分类编码 */
    @Excel(name = "课程分类编码")
    private String caCode;

    /** 课程评论编码 */
    @Excel(name = "课程评论编码")
    private String coCode;

    public void setcId(Integer cId) 
    {
        this.cId = cId;
    }

    public Integer getcId() 
    {
        return cId;
    }
    public void setCourseCode(String courseCode) 
    {
        this.courseCode = courseCode;
    }

    public String getCourseCode() 
    {
        return courseCode;
    }
    public void setCoName(String coName) 
    {
        this.coName = coName;
    }

    public String getCoName() 
    {
        return coName;
    }
    public void setCourseVideoUrl(String courseVideoUrl) 
    {
        this.courseVideoUrl = courseVideoUrl;
    }

    public String getCourseVideoUrl() 
    {
        return courseVideoUrl;
    }
    public void setMoney(Integer money) 
    {
        this.money = money;
    }

    public Integer getMoney() 
    {
        return money;
    }
    public void setPeople(Long people) 
    {
        this.people = people;
    }

    public Long getPeople() 
    {
        return people;
    }
    public void setTeacherCode(String teacherCode) 
    {
        this.teacherCode = teacherCode;
    }

    public String getTeacherCode() 
    {
        return teacherCode;
    }
    public void setCaCode(String caCode) 
    {
        this.caCode = caCode;
    }

    public String getCaCode() 
    {
        return caCode;
    }
    public void setCoCode(String coCode) 
    {
        this.coCode = coCode;
    }

    public String getCoCode() 
    {
        return coCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("cId", getcId())
            .append("courseCode", getCourseCode())
            .append("coName", getCoName())
            .append("courseVideoUrl", getCourseVideoUrl())
            .append("money", getMoney())
            .append("people", getPeople())
            .append("teacherCode", getTeacherCode())
            .append("caCode", getCaCode())
            .append("coCode", getCoCode())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
